package com.yl.zqy.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 用户身份信息
 * @Author liang.yu
 * @Date 2024/3/24 12:23
 */
@Data
public class UserInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "用户ID")
    private String userId;
    @Schema(description = "账号")
    private String username;
    @Schema(description = "用户昵称")
    private String realName;
    @Schema(description = "token")
    private String token;
    @Schema(description = "roles")
    private List<String> roles;
    @Schema(description = "headUrl")
    private String headUrl;
    @Schema(description = "gender")
    private String gender;
    @Schema(description = "email")
    private String email;
    @Schema(description = "mobile")
    private String mobile;
    @Schema(description = "deptId")
    private String deptId;
    @Schema(description = "deptName")
    private String deptName;
}
